/**
 * Created by wuxue on 2017/7/13.
 */
$(function () {
    $("#prisonManagementList").gridTable({
        url: "org/pageOrg",
        columns: [
            {title: "监所编号", field: "id"},
            {title: "监所名称", field: "orgName"},
            {title: "开户银行", field: "bankName"},
            {title: "银行卡号", field: "bankCard"},
            {title: "联系人", field: "orgName"},
            {title: "联系电话", field: "bankCard"},
            {title: "地址", field: "address",format:function(){return "杭州市上城区新城大楼"}},
            {title: "监所状态", field: "orgStatusStr"},
            {title: "创建时间", field: "createTime"}
        ],
        params: {orgType: 1},
        idField: "id",
        infoUrl: "manage/prisonManagementInfo.html",
        editUrl: "manage/prisonManagementEdit.html",
        delUrl: "org/delOrg"
    });
});